using System;
using System.Collections.Generic;
using System.Text;
using System.IO;

namespace PRO_DOCS.BLL.WIN.Utilities
{
    public class FileType
    {
        public enum CreatedFileType
        {
            cs,
            txt,
            doc,
            docx
        }

        public static string GenerateRandomBarcode()
        {
            string generaterBarcode = Path.GetRandomFileName();
            generaterBarcode = generaterBarcode.Replace(".", ""); // Remove period.
            if (generaterBarcode.Length > 10)
            {
                generaterBarcode = generaterBarcode.Remove(10);
            }
            return generaterBarcode.ToUpper();
        }

    }
}
